<?php


namespace app\model;


use app\utils\simple_html_dom;
use think\Model;

class Course extends Model
{

    public function category()
    {
        return $this->belongsTo(Category::class, 'category_id');
    }

}